
import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

require('@/assets/css/reset.css')
require('@/assets/iconfont/iconfont.css')
require('@/assets/css/common.css')
require('@/assets/css/common-mi.styl')
require('@/assets/js/flexible.js')

import 'swiper/swiper-bundle.css';
Vue.prototype.$swiper = require('swiper/swiper-bundle.js')

Vue.prototype.$helper = require('@/utils/helper.js')

import {Dialog,Loading} from '@/plugins/dyui';

Vue.use(Dialog);
Vue.use(Loading);

Vue.config.productionTip = false;

import axios from 'axios';
Vue.prototype.$axios = axios;

process.env.NODE_ENV === 'development' && require('./mock');

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
